﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CCWin;

namespace SuperData
{
    /// <summary>
    /// 添加CCSkinMain 窗体继承类
    /// </summary>
    public partial class MainFrom : CCSkinMain
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public MainFrom()
        {
            InitializeComponent();
        }

        private void skinTabControl1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// 防护中心按钮事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了防护中心", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 网购先陪按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox4_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了网购先陪", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 反勒索服务按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox5_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了反勒索服务", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 春节抢票按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了春节抢票", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 人工服务按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了人工服务", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 主页修复按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了主页修复", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 手机助手按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了手机助手", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 更多按钮点击
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg7_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了更多", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 立即体检
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg6_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了立即体检", "提示信息",MessageBoxButtons.OK);
        }

        /// <summary>
        /// 最小化窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg3_Click(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;
        }

        /// <summary>
        /// 关闭窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg5_Click(object sender, EventArgs e)
        {
            Close();
        }

        #region 鼠标经过事件
        /// <summary>
        /// 防护中心鼠标经过事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox3_MouseMove(object sender, MouseEventArgs e)
        {
            skinPictureBox3.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 防护中心鼠标离开事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox3_MouseLeave(object sender, EventArgs e)
        {
            skinPictureBox3.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 网购先陪
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox4_MouseMove(object sender, MouseEventArgs e)
        {
            skinPictureBox4.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 网购先陪
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox4_MouseLeave(object sender, EventArgs e)
        {
            skinPictureBox4.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 反勒索服务
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox5_MouseMove(object sender, MouseEventArgs e)
        {
            skinPictureBox5.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 反勒索服务
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinPictureBox5_MouseLeave(object sender, EventArgs e)
        {
            skinPictureBox5.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 春节抢票
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox4_MouseMove(object sender, MouseEventArgs e)
        {
            pictureBox4.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 春节抢票
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox4_MouseLeave(object sender, EventArgs e)
        {
            pictureBox4.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 人工服务
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox3_MouseMove(object sender, MouseEventArgs e)
        {
            pictureBox3.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 人工服务
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox3_MouseLeave(object sender, EventArgs e)
        {
            pictureBox3.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 主页修复
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox2_MouseMove(object sender, MouseEventArgs e)
        {
            pictureBox2.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 主页修复
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox2_MouseLeave(object sender, EventArgs e)
        {
            pictureBox2.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 手机助手
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
        {
            pictureBox1.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 手机助手
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void pictureBox1_MouseLeave(object sender, EventArgs e)
        {
            pictureBox1.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 电脑体检---更多
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg7_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg7.BackColor = Color.WhiteSmoke;
        }

        /// <summary>
        /// 电脑体检---更多
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg7_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg7.BackColor = Color.Transparent;
        }

        /// <summary>
        /// 电脑体检--立即体检
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg6_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg6.Location = new Point(333, 176);
        }

        /// <summary>
        /// 电脑体检--立即体检
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg6_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg6.Location = new Point(332, 175);
        }

        /// <summary>
        /// 最小化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg3_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg3.Location = new Point(810, 8);
        }

        /// <summary>
        /// 最小化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg3_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg3.Location = new Point(809, 7);
        }

        /// <summary>
        /// 关闭
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg5_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg5.Location = new Point(844, 4);
        }

        /// <summary>
        /// 关闭
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg5_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg5.Location = new Point(843, 3);
        }

        /// <summary>
        /// 木马查杀--立即扫描
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg8_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg8.Location = new Point(653, 41);
        }

        /// <summary>
        /// 木马查杀--立即扫描
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg8_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg8.Location = new Point(652, 40);
        }

        #endregion

        #region 木马查杀按钮事件

        /// <summary>
        /// 立即扫描按钮事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg8_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了立即扫描", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 快速扫描
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg21_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了快速扫描", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 全盘扫描
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg20_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了全盘扫描", "提示信息", MessageBoxButtons.OK);
        }

        /// <summary>
        /// 自定义扫描
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg22_Click(object sender, EventArgs e)
        {
            MessageBox.Show("你点击了自定义扫描", "提示信息", MessageBoxButtons.OK);
        }
        #endregion

        #region 木马查杀 鼠标指向或离开事件

        /// <summary>
        /// label
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinLabel13_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg21.OneFrame = 2;
            skinLabel13.ForeColor = Color.Green;
        }

        private void skinLabel13_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg21.OneFrame = 1;
            skinLabel13.ForeColor = Color.Black;
        }


        private void skinLabel14_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg20.OneFrame = 2;
            skinLabel14.ForeColor = Color.Green;
        }

        private void skinLabel14_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg20.OneFrame = 1;
            skinLabel14.ForeColor = Color.Black;
        }

        private void skinLabel15_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg22.OneFrame = 2;
            skinLabel15.ForeColor = Color.Green;
        }

        private void skinLabel15_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg22.OneFrame = 1;
            skinLabel15.ForeColor = Color.Black;
        }

        /// <summary>
        /// 图片
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void skinAnimatorImg21_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg21.OneFrame = 3;
            skinAnimatorImg21.BackColor = Color.Honeydew;
        }

        private void skinAnimatorImg21_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg21.OneFrame = 1;
            skinAnimatorImg21.BackColor = Color.Transparent;
        }

        private void skinAnimatorImg20_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg20.OneFrame = 3;
            skinAnimatorImg20.BackColor = Color.Honeydew;
        }

        private void skinAnimatorImg20_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg20.OneFrame = 1;
            skinAnimatorImg20.BackColor = Color.Transparent;
        }

        private void skinAnimatorImg22_MouseMove(object sender, MouseEventArgs e)
        {
            skinAnimatorImg22.OneFrame = 3;
            skinAnimatorImg22.BackColor = Color.Honeydew;
        }

        private void skinAnimatorImg22_MouseLeave(object sender, EventArgs e)
        {
            skinAnimatorImg22.OneFrame = 1;
            skinAnimatorImg22.BackColor = Color.Transparent;
        }
        #endregion
    }
}
